package com.yunfangdata.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

@Setter
@Getter
@ToString
public class PersonageSalary extends BaseDomain{
    private static  final  BigDecimal BIG_DECIMAL_ZERO = BigDecimal.ZERO;

    private Long id;

    //工资类型
    private DataDict scaleType;
    //账号类型
    private DataDict accountType;
    //账号
    private String accountNumber;
    //基本工资
    private BigDecimal basePay = BIG_DECIMAL_ZERO;
    //岗贴
    private BigDecimal postSubsidy = BIG_DECIMAL_ZERO;
    //技贴
    private BigDecimal skillSubsidy = BIG_DECIMAL_ZERO;
    //奖金类型
    private DataDict bonusTypes;
    //职位奖金系数
    private int bonusCoefficient;
    //部门奖金系数
    private int departmentCoefficient;
    //奖金基数
    private int skillCoefficient;
    //加班类型
    private DataDict otType;
    //养老保险
    private BigDecimal endowment = BIG_DECIMAL_ZERO;
    //失业保险
    private BigDecimal unemployment = BIG_DECIMAL_ZERO;
    //基本医疗
    private BigDecimal basicMedicalCare = BIG_DECIMAL_ZERO;
    //补充医疗
    private BigDecimal complementaryMedicine = BIG_DECIMAL_ZERO;
    //生育保险
    private BigDecimal maternityInsurance = BIG_DECIMAL_ZERO;
    //公积金
    private BigDecimal accumulationFund = BIG_DECIMAL_ZERO;
    //其它扣款
    private BigDecimal otherDeductions = BIG_DECIMAL_ZERO;
    //其它补足
    private BigDecimal otherComplement = BIG_DECIMAL_ZERO;
}